package com.eightbears.beboy.entity;

import com.eightbears.beboy.R;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by Bao on 2017/9/11.
 */

public class ShopManageEntity implements Serializable{

    public static final String MENU_SHOP_INFO = "shopInfo";
    public static final String MENU_SHOP_ACCOUNT = "shopAccount";
    public static final String MENU_SHOP_AUTHOR = "shopAuthor";
    public static final String MENU_SHOP_SET_MEAL = "shopSetMeal";
    public static final String MENU_SHOP_RESERVE = "shopReserve";
    public static final String MENU_SHOP_DATA = "shopData";
    public static final String MENU_SHOP_JISHI = "shopJiShi";
    public static final String MENU_SHOP_GET_QC = "shopQc";
    public static final String MENU_SHOP_COMING_SOON = "comingSoon";

    private String name;
    private int img;
    private String type;

    public ShopManageEntity(String name, int img, String type) {
        this.name = name;
        this.img = img;
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getImg() {
        return img;
    }

    public void setImg(int img) {
        this.img = img;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "ShopManageEntity{" +
                "name='" + name + '\'' +
                ", img=" + img +
                '}';
    }

    public static List<ShopManageEntity> getShopManageItem(){
        List<ShopManageEntity> list = new ArrayList<>();
        ShopManageEntity shopInfo = new ShopManageEntity("商家信息", R.mipmap.icon_sj, MENU_SHOP_INFO);
        list.add(shopInfo);
        ShopManageEntity shopAccount = new ShopManageEntity("商家账户", R.mipmap.icon_account, MENU_SHOP_ACCOUNT);
        list.add(shopAccount);
        ShopManageEntity shopAuthor = new ShopManageEntity("权限管理", R.mipmap.icon_authority, MENU_SHOP_AUTHOR);
        list.add(shopAuthor);
        ShopManageEntity shopSetMeal = new ShopManageEntity("优惠套餐", R.mipmap.icon_yh, MENU_SHOP_SET_MEAL);
        list.add(shopSetMeal);
        ShopManageEntity shopReserve = new ShopManageEntity("用户预订", R.mipmap.icon_yuding, MENU_SHOP_RESERVE);
        list.add(shopReserve);
        ShopManageEntity shopData = new ShopManageEntity("数据统计", R.mipmap.icon_shuju, MENU_SHOP_DATA);
        list.add(shopData);
        ShopManageEntity jishi = new ShopManageEntity("技师管理", R.mipmap.icon_jishi, MENU_SHOP_JISHI);
        list.add(jishi);
        ShopManageEntity getQC = new ShopManageEntity("申请收款码", R.mipmap.icon_qr, MENU_SHOP_GET_QC);
        list.add(getQC);
        ShopManageEntity comingSoon = new ShopManageEntity("敬请期待", R.mipmap.icon_more, MENU_SHOP_COMING_SOON);
        list.add(comingSoon);
        return list;
    }
}
